package com.caigou.pojo;

import com.caigou.bean.cms.entity.ArticleKeyword;
import com.caigou.bean.vo.KeyValueVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel(value="文章列表页返回数据结构")
public class ArticleList {
    @ApiModelProperty(value="内容ID",name="articleId",dataType="String")
    private String articleId;
    @ApiModelProperty(value="内文标题",name="articleTitle",dataType="String")
    private String articleTitle;
    @ApiModelProperty(value="当前文章是否已发布(标识是否可跳转)",name="articleIsRelease",dataType="Integer")
    private Integer articleIsRelease;
    @ApiModelProperty(value="标题跳转连接地址",name="articleUrl",dataType="String")
    private String articleUrl;
    @ApiModelProperty(value="标题跳转连接地址(移动)",name="articleMobileUrl",dataType="String")
    private String articleMobileUrl;
    @ApiModelProperty(value="推荐位置(数量)",name="articlePublicCount",dataType="Integer")
    private Integer articlePublicCount;
    @ApiModelProperty(value="实际点击量(PC+移动)",name="articlePublicCount",dataType="Integer")
    private Integer articleClick;
    @ApiModelProperty(value="文章点击量(UV)",name="articleClickCount",dataType="Integer")
    private Integer articleVisitCount;
    @ApiModelProperty(value="文章点击量(PV)",name="articleClickCount",dataType="Integer")
    private Integer articleClickCount;
    @ApiModelProperty(value="文章评论数",name="commentCount",dataType="Integer")
    private Integer commentCount;
    @ApiModelProperty(value="创建数据人(昵称)",name="articleClickCount",dataType="String")
    private String articleCreateUser;
    @ApiModelProperty(value="创建数据时间",name="articleClickCount",dataType="String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value="审核状态(0待审核1审核通过2审核不通过3草稿)",name="articleStatus",dataType="Integer")
    private Integer articleStatus;
    @ApiModelProperty(value="审核人(昵称)",name="articleAuditor",dataType="String")
    private String  articleAuditor;
    @ApiModelProperty(value="发布时间/更新时间(审核通过的时间)",name="articlePublicTime",dataType="String")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date articleReleaseTime;
    @ApiModelProperty(value="库别(文章类型文字)",name="articleType",dataType="String")
    private String articleType;
    @ApiModelProperty(value="库别(具体值)",name="articleType",dataType="String")
    private String articleTypeValue;
    @ApiModelProperty(value="作者",name="articleAuthor",dataType="String")
    private String articleAuthor;
    @ApiModelProperty(value="编辑",name="articleEditor",dataType="String")
    private String articleEditor;
    @ApiModelProperty(value="约稿人",name="articleScout",dataType="String")
    private String articleScout;
    @ApiModelProperty(value = "信息来源", name = "articleSource", dataType = "String")
    private String articleSource;
    @ApiModelProperty(value = "报纸刊登状态", name = "articleNewPaperStatus", dataType = "Integer")
    private String articleNewPaperStatus;
    @ApiModelProperty(value = "微信刊登状态", name = "articleNewPaperStatus", dataType = "Integer")
    private String articleWeChatStatus;
    @ApiModelProperty(value="付费价格(采币)",name="articlePrice",dataType="Integer")
    private Integer articlePrice;
    @ApiModelProperty(value="付费价格(人民币)",name="articlePrice",dataType="Integer")
    private Integer articleMoney;
    @ApiModelProperty(value="价格单位(0免费1采币2人民币)",name="articleVipType",dataType="Integer")
    private Integer articleVipType;

    private List<ArticleKeyword> articleKeywordList;

    private String articleInfo; //文章简介

    private String articleKeyWord;//文章关键词编码

    private String articleImage;//文章图片

    private String articleImageAlt;//图片alt标签

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date publicTime;//文章发布时间

    private String plateId;//文章平台id

    private String channelTitle;//tdk频道标题

    private String channelKeyword;//tdk频道关键词

    private String channelDescriptions;//tdk描述

    private List<KeyValueVO> articleKeywords;//文章关键词列表

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Integer articleOutLinkStatus;
    private String articleOutLink;

    private String articleCreateSource;// 数据创建来源(如果不为0则是采集过来的)
    private Integer articlePublicLocation;// 发布的分站ID(0为官网主站)
    private String collectionUrl;// 采集源地址
}
